package com.atguigu.springCloud.entites;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //全参构造方法
@NoArgsConstructor //无参构造方法
public class ComnonResult<T> {

    private int code;
    private String message;
    private T date;

    public ComnonResult(int code,String message){
        this(code,message,null);
    }


}
